package com.tang.mybatis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;import com.baomidou.mybatisplus.extension.plugins.pagination.Page;import com.tang.mybatis.domain.User;import org.apache.ibatis.annotations.Param;import org.apache.ibatis.annotations.Select;

/**
 * @author Tang
 * @classname UserMapper
 * @description [  ]
 * @date 2021/11/21 19:16
 */
public interface UserMapper extends MyBaseMapper<User> {
    @Select("select * from user where email = #{email}")
    IPage<User> selectPageVo(Page<?> page, @Param("email") String email);
}